package bill.study.javaPuzzlers.exceptional;

public class Arcane3 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Type1 t1 = new WhoAmI();
		t1.f();
		Type2 t2 = new WhoAmI();
		t2.f();
		Type3 t3 = new WhoAmI();
		t3.f();

	}

}
interface Type1{
	void f() throws CloneNotSupportedException;
}

interface Type2{
	void f() throws InterruptedException;
}

interface Type3 extends Type1, Type2{
	
}

class WhoAmI implements Type3{
 public	void f(){
		System.out.println("Who am I");
	}
}